<?php

namespace app\common\business;

class CommonBase
{
    protected const _RESULT  = 'result';
    protected const _MESSAGE = 'message';

    protected const _SYSTEM_ERROR_MESSAGE                 = '系统开小差，请稍后重试';
    protected const _DELETE_SUCCESS_MESSAGE               = '删除成功';
    protected const _EXECUTE_INIT_SQL_SUCCESS_MESSAGE     = '数据初始成功';
    protected const _DELETE_CATEGORY_HAS_CHILD_ERROR      = '删除栏目失败，该存在子级';
    protected const _DELETE_ATTRIBUTE_IS_USED_ERROR       = '删除属性失败，已被%s使用';
    protected const _DELETE_ATTRIBUTE_VALUE_IS_USED_ERROR = '删除属性值失败，%s已被使用';
    protected const _DELETE_MENU_HAS_CHILD_ERROR          = '删除菜单失败，该存在子级';
    protected const _SORT_SUCCESS_MESSAGE                 = '已排序';
    protected const _ADD_SUCCESS_MESSAGE                  = '添加成功';
    protected const _UPDATE_SUCCESS_MESSAGE               = '更新成功';
    protected const _FEEDBACK_SUCCESS_MESSAGE             = '留言成功';

    protected const _IS_ENABLE_STATUS  = 1;
    protected const _IS_DISABLE_STATUS = 2;

    protected $_websiteCode = '';
}
